<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 
<%
String path = request.getContextPath();
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>编辑用户</title>
  </head>
  <body>
	<div class="pageContent">
		<form method="post" action="<%=path %>/customerAccount/saveCustomerAccount.action" class="pageForm required-validate" onsubmit="return validateCallback(this, navTabAjaxDone);">
			<div class="pageFormContent" layoutH="90">
				<input name="customerAccountVO.id" type="hidden" value="<s:property value="customerAccountVO.id" />" />
				<c:choose>
					<c:when test="${customerAccountVO.customerCode!=null && customerAccountVO.customerCode!=''}">
						<p>
							<label>账户余额：</label>
							<input name="customerAccountVO.money" value="<s:property value="customerAccountVO.money" />" type="text" size="30"/>
						</p>
					</c:when>
					<c:otherwise>
						<p><span style="color:red">请先创建商户</span></p>
					</c:otherwise>
				</c:choose>
			</div>
			<div class="formBar">
				<ul>
					<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
					<li>
						<div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
					</li>
				</ul>
			</div>
		</form>
	</div>
  </body>
</html>